<template>
    <el-date-picker
      v-model="value1"
      type="date"
      :picker-options="pickerOptions"
       size="large"
      placeholder="选择日期">
    </el-date-picker>
</template>

<script>
import Vue from 'vue'
import {DatePicker} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(DatePicker);
  export default {
    data() {
      return {
        pickerOptions: {
          disabledDate(time) {
            return time.getTime() < Date.now();
          },
        },
        value1: '',
      }
    }
  };
</script>
<style lang="stylus" scoped>
</style>